/*    */ package com.evitch.csvtrade.cmd;
/*    */ 
/*    */ public class MovingAverageMethod
/*    */ {
/* 49 */   public static final MovingAverageMethod MODE_SMA = new MovingAverageMethod(0);
/*    */   public static final int _MODE_SMA = 0;
/* 54 */   public static final MovingAverageMethod MODE_EMA = new MovingAverageMethod(1);
/*    */   public static final int _MODE_EMA = 1;
/* 59 */   public static final MovingAverageMethod MODE_SMMA = new MovingAverageMethod(2);
/*    */   public static final int _MODE_SMMA = 2;
/* 64 */   public static final MovingAverageMethod MODE_LWMA = new MovingAverageMethod(3);
/*    */   public static final int _MODE_LWMA = 3;
/*    */   public int val;
/*    */ 
/*    */   private MovingAverageMethod(int val)
/*    */   {
/* 68 */     this.val = val;
/*    */   }
/*    */   public static MovingAverageMethod getMovingAverageMethod(int val) {
/* 71 */     switch (val) {
/*    */     case 0:
/* 73 */       return MODE_SMA;
/*    */     case 1:
/* 74 */       return MODE_EMA;
/*    */     case 2:
/* 75 */       return MODE_SMMA;
/*    */     case 3:
/* 76 */       return MODE_LWMA;
/* 77 */     }return null;
/*    */   }
/*    */ }

/* Location:           C:\Users\froge\workspace\jfx126_bin\lib\jfx.jar
 * Qualified Name:     com.jfx.MovingAverageMethod
 * JD-Core Version:    0.6.0
 */